package cn.ante.ymcc.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.Getter;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Getter
public class UserRegisterDTO {
    @NotEmpty(message = "图形验证码不能为空")
    private String imageCode;

    @NotEmpty(message = "手机号不能为空")
    private String mobile;

    private String password = "123456";

    private Integer regChannel;

    @NotEmpty(message = "短信验证码不能为空")
    private String smsCode;

    private String refCode;
}
